package com.heying.springcore.aop.jdbc.vo;

import com.heying.springcore.aop.jdbc.entity.ClassInfo;
import com.heying.springcore.aop.jdbc.entity.StudentInfo;

public class StudentClass {

    private StudentInfo studentInfo;

    private ClassInfo classInfo;

    public StudentClass(StudentInfo studentInfo, ClassInfo classInfo) {
        this.studentInfo = studentInfo;
        this.classInfo = classInfo;
    }

    public StudentClass() {
    }

    public StudentInfo getStudentInfo() {
        return studentInfo;
    }

    public void setStudentInfo(StudentInfo studentInfo) {
        this.studentInfo = studentInfo;
    }

    public ClassInfo getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(ClassInfo classInfo) {
        this.classInfo = classInfo;
    }

    @Override
    public String toString() {
        return "StudentClass{" +
                "studentInfo=" + studentInfo +
                ", classInfo=" + classInfo +
                '}';
    }
}
